/*
 * Copyright (C) 2011 yixun All Rights Reserved.
 * 
 * SysConstants.java
 */
package com.emm.yixun.common.constant;

/**
 * [文件名称]<br>
 * SysConstants <br>
 * <br>
 * [文件描述]<br>
 * 系统用常量<br>
 * <br>
 * [修改记录]<br>
 * 2011-8-4 ver1.00 创建 ji_qingyang<br>
 * 
 * @author ji_qingyang
 * @version 1.00
 */
public class SysConstants {
	
	/**
	 * 构造文件隐藏
	 */
	private SysConstants() {
		
	}
	
	/**
	 * 保存用户的session信息key
	 */
	public static final String SESSION_USERINFO = "SESSION_USER_INFO";
	
	/**
	 * 保存系统权限认证的信息key（资源，可访问的角色）
	 */
	public static final String SYS_AUTH_RESOURCE_INFO = "SYS_AUTH_RESOURCE_INFO";
	
	/**
	 * 用户登录认证结果(认证成功)
	 */
	public static final String USER_AUTH_RESULT_A = "A";
	
	/**
	 * 用户登录认证结果(密码不正确)
	 */
	public static final String USER_AUTH_RESULT_B = "B";
	
	/**
	 * 用户登录认证结果(loginId不存在)
	 */
	public static final String USER_AUTH_RESULT_C = "C";
	
	/**
	 * 默认分页每页页数
	 */
	public static final int PER_PAGE = 10;
	
	/**
	 * 验证码开关
	 */
	public static final boolean VALIDATE_CODE = false;
	
	/**
	 * 异常信息
	 */
	public static final String EXCEPTION_MESSAGE = "用户不存在";
	
	/**
	 * 菜单根节点默认ID
	 */
	public static final long MENU_DEFAULT_ID = 1;
	/**
	 * 菜单下拉菜单默认值
	 */
	public static final long MENU_COMBOX_ID = -1;
	/**
	 * 菜单下拉菜单默认显示
	 */
	public static final String MENU_COMBOX_TEXT = "不设置";
	/**
	 * 菜单根节点默认ID
	 */
	public static final int MENU_ROOT_ID = 1;
	
	/**
	 * 数据权限开关
	 */
	public static final boolean openDataPermission = true;
	
	/**
	 * 去电未接通（默认值）
	 */
	public static final String OUTGONING_NOT_CONNECTED = "去电未接通";
	
	public static String[] PROJECT_ROLE_NAME={"公司总经理","项目总","经纪总","销售经理","销管经理","财务经理","区域领导","区域经理"};
	
	
	//FC 业务
	public static String[] PROJECT_ROLE_NAME_FC={"总经理","分公司总经理","项目总监","销售经理","销售主管","财务","行政总监"};
	
}
